import React, {useState, useEffect} from 'react';
import {Spin, Row, Col, Card} from 'antd';
import styles from './index.less';
import FormRegister from './FormRegister';

export default () => {
  const [loading, setLoading] = useState<boolean>(true);
  useEffect(() => {
    setTimeout(() => {
      setLoading(false);
    }, 1000);
  }, []);
  return (
    <div>
      <Spin spinning={loading} size="large"/>
      <FormRegister/>
    </div>
  );
};
